package Model;

public class H_resources {

    private int h_id;
    private int user_id;
    private String h_name;
    private String h_location;
    private float h_price;
    private String h_layout;
    private String h_type;
    private float h_area;
    private boolean h_elevator;
    private String h_toward;
    private String h_traffic;
    private int h_status;
    private String h_floor;
    private User user;
    private H_facilities h_facilities;
    private String photo_name;
    public int getH_id() {
        return h_id;
    }

    public void setH_id(int h_id) {
        this.h_id = h_id;
    }

    public int getUser_id() {
        return h_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getH_name() {
        return h_name;
    }

    public void setH_name(String h_name) {
        this.h_name = h_name;
    }

    public String getH_location() {
        return h_location;
    }

    public void setH_location(String h_location) {
        this.h_location = h_location;
    }

    public float getH_price() {
        return h_price;
    }

    public void setH_price(float h_price) {
        this.h_price = h_price;
    }

    public String getH_layout() {
        return h_layout;
    }

    public void setH_layout(String h_layout) {
        this.h_layout = h_layout;
    }

    public String getH_type() {
        return h_type;
    }

    public void setH_type(String h_type) {
        this.h_type = h_type;
    }

    public float getH_area() {
        return h_area;
    }

    public void setH_area(float h_area) {
        this.h_area = h_area;
    }

    public boolean isH_elevator() {
        return h_elevator;
    }

    public void setH_elevator(boolean h_elevator) {
        this.h_elevator = h_elevator;
    }

    public String getH_toward() {
        return h_toward;
    }

    public void setH_toward(String h_toward) {
        this.h_toward = h_toward;
    }

    public String getH_traffic() {
        return h_traffic;
    }

    public void setH_traffic(String h_traffic) {
        this.h_traffic = h_traffic;
    }

    public int getH_status() {
        return h_status;
    }

    public void setH_status(int h_status) {
        this.h_status = h_status;
    }

    public String getH_floor() {
        return h_floor;
    }

    public void setH_floor(String h_floor) {
        this.h_floor = h_floor;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public H_facilities getH_facilities() {
        return h_facilities;
    }

    public void setH_facilities(H_facilities h_facilities) {
        this.h_facilities = h_facilities;
    }

    public String getPhoto_name() {
        return photo_name;
    }

    public void setPhoto_name(String photo_name) {
        this.photo_name = photo_name;
    }

    public String toString() {
        return "USer{" +
                "h_id=" + h_id +
                "user_id=" + user_id +
                ", h_name='" + h_name + '\'' +
                ", h_location='" + h_location + '\'' +
                ", h_price=" + h_price +
                ", h_layout='" + h_layout + '\'' +
                ", h_type='" + h_type + '\'' +
                ", h_area=" + h_area +
                ",h_elevator=" + h_elevator +
                ", h_toward='" + h_toward + '\'' +
                ", h_traffic='" + h_traffic + '\'' +
                ", h_status=" + h_status +
                ", h_floor='" + h_floor + '\'' +
                ", photo_name='" + photo_name + '\'' +
                '}'+"\n";
    }

}
